/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package AsteriskDao;

import java.sql.Connection;
import java.sql.DriverManager;

public class DBase {

     protected Connection conn;

     protected void init_mysql() {
        try {
            Class.forName("com.mysql.jdbc.Driver");
            conn = DriverManager.getConnection(
                    "jdbc:mysql://localhost:3306/chasquisoft",
                    "root",
                    "root");
        } catch (Exception e) {
            System.out.println("Failed to get connection");
            e.printStackTrace();
        }
    }
}
